Virtual Battery: A testing tool for power-aware software
نویسندگان
چکیده
Virtualization is an inexpensive and convenient method for setting up software test environments. Thus it is being widely used as a test tool for software products requiring high reliability such as mission critical cyber-physical systems. However, existing virtualization platforms do not fully virtualize the battery subsystem. Therefore, it is difficult to test battery-related features of guest systems. In this paper, we propose Virtual Battery, a battery virtualization scheme for type II full virtualization platforms. Virtual Battery takes the form of an ACPI-compatible battery device driver dedicated to each virtual machine, which virtualizes a target system. Through Virtual Battery, developers can easily manipulate the charging and battery status of each virtual machine (VM), regardless of the existence or current status of the host sys-tem's battery. In addition, Virtual Battery emulates the behavior of batteries by discharging the virtual batteries according to the resource usages of their VMs. This feature enables VMs to act as battery resource containers. Three case studies demonstrate the effectiveness of the proposed scheme. To extend battery lifetime and improve the user experience, most modern operating systems (OSs) employ low-power operating modes that change diverse system behaviors according to battery status, such as the charging/discharging condition and remaining energy. In addition, to protect user and critical system data, most systems automatically save their memory contents to permanent storage devices, suspending their operations until the battery systems are recharged. This is called hibernation. As the importance of battery management in mobile cyber-physical systems is ever increasing, such battery-related software components are becoming more powerful, complicated, and error-prone. Although many debuggers and profilers for application development have been introduced, there are relatively few tools for system software development; therefore, testing and resuscitating specific behaviors exhibited by system software or device drivers remain difficult problems. Emerging virtualization technology significantly relieves this difficulty. By making target systems run on virtual machines (VMs) and by manipulating these VMs, developers can easily observe the behavioral characteristics of target systems as they react to hardware status changes [1,2]. In addition, virtualized target systems enable developers to run multiple target systems or to have different target OSs on a single development workstation at the same time. For a hardware component to be used in a VM, the virtualiza-tion platform must provide the component to the VM as a virtual device. For example, a battery subsystem has to be virtualized and provided to VMs if developers want …
منابع مشابه
Tutorial T3A: Testing Low-Power Integrated Circuits: Challenges, Solutions, and Industry Practices
The push for portable, battery-operated, and “cool-and-green” electronics has elevated power consumption as the defining metric of integrated circuit (IC) design. Testing ICs built for such applications requires judicious consideration of test power implications on various aspects of the design cycle (e.g., packaging and power grid design), test engineering (multi-site ATE power supply limitati...
متن کاملA Multilevel Introspective Dynamic Optimization System For Holistic Power-Aware Computing
Power consumption is rapidly becoming the dominant limiting factor for further improvements in computer design. Curiously, this applies both at the “high-end” of workstations and servers and the “low end” of handheld devices and embedded computers. At the high-end, the challenge lies in dealing with exponentially growing power densities. At the low-end, there is a demand to make mobile devices ...
متن کاملA Case for Battery Charging-Aware Power Management and Deferrable Task Scheduling in Smartphones
Prior battery-aware systems research has focused on discharge power management in order to maximize the usable battery lifetime of a device. In order to achieve the vision of perpetual mobile device operation, we propose that software also needs to carefully consider the process of battery charging. This is because the power consumed by the system when plugged in can influence the rate of batte...
متن کاملArchitectural Software Power Estimation Support for Power Aware Remote Processing
Mobile devices can reduce their energy consumption through power aware remote processing. Software components running on battery-operated wireless nodes are migrated to wall-power wired remote servers. To increase the efficiency of power aware remote processing, we propose a novel integrated estimator for software component's power and energy consumption. This adaptive estimator is based on a s...
متن کاملA Location-aware Framework for Intelligent Real-time Mobile Applications the Location-aware Information Systems Client (laisyc) Supports Intelligent, Real-time, Mobile Applications for Gps-enabled Mobile Phones by Dynamically Adjusting Platform Parameters for Application Performance While Conserving Device Resources Such as Battery Life
Java ME provides standardized programmatic access to location data through the JSR179 Location API and allows applications to run in the background (through a multitasking virtual machine), both key requirements for widely deployable location-aware applications. Because a device-based location API is critical for supporting real-time location-aware mobile applications, third-party application d...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Journal of Systems Architecture - Embedded Systems Design
دوره 59 شماره
صفحات -
تاریخ انتشار 2013